package com.taotao.complier.calcu.lex;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 种别码
 */
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum WordType {
    /**
     * 输入结束
     */
    EOF(0),
    /**
     * 数字
     */
    NUMBER(4),
    /**
     * 预算符
     */
    ADD(5),
    SUB(6),
    MUL(7),
    DIV(8),


    ;

    @Getter
    private int type;

}
